#include <stdio.h>
#include <unistd.h>
#include <fcntl.h>

int main(){
	
	int fd1,fd2;
	char c;

	fd1=open("foobar.txt",O_RDONLY);
	fd2=open("foobar.txt",O_RDONLY);
	read(fd1,&c,1);
	read(fd2,&c,1);
	printf("c=%c\n",c);
	return 0;
}
